Main Page | Class Hierarchy | Class List | Class Members

MPCharSelectCursor Class Reference

MP game character selection cursor message (Type: 102). More...

#include <BustaNetInternal.h>

Inheritance diagram for MPCharSelectCursor:

BustaNetInternalMsg List of all members.

Public Member Functions

 MPCharSelectCursor (int pID, BustaModelPosition pCursor)
 CONSTRUCTOR.
int getPlayerID ()
 Returns the identification number of the player who has moved their cursor.
BustaModelPosition getCursor ()
 Returns the position of a multiplayer player's cursor during character selection.

Detailed Description

MP game character selection cursor message (Type: 102).

This message is received by all players when another player in a multiplayer game moves their character selection cursor. Each player is able to see the character selection of another client during the character selection phase of a MP game. Having this message, the player can tell who's moving their cursor and that cursor's position.


Constructor & Destructor Documentation

MPCharSelectCursor::MPCharSelectCursor int  pID,
BustaModelPosition  pCursor
 

CONSTRUCTOR.

An instance of the MPCharSelectCursor is created. Information to be contained in the message is necessarily supplied at creation time.

pID The identification number of the player whose cursor is being sent

Parameters:
pCursor The position of the player's cursor


Member Function Documentation

BustaModelPosition MPCharSelectCursor::getCursor  ) 
 

Returns the position of a multiplayer player's cursor during character selection.

Returns the position of a multiplayer player's cursor during character selection

Returns:
Returns the position of a multiplayer player's cursor during character selection

int MPCharSelectCursor::getPlayerID  ) 
 

Returns the identification number of the player who has moved their cursor.

An integer identification number of the player who has made a cursor movement is returned.

Returns:
The identification number of the player who has moved their cursor


Generated on Tue Aug 2 22:03:12 2005 for BustaSandwich Networking by  doxygen 1.4.2-20050421